package org.biloxi.player.actions.drawcard;

import org.biloxi.commands.CommandRepository;
import org.biloxi.commands.draw.Draw;
import org.biloxi.model.GameState;
import org.biloxi.model.player.PlayerState;
import org.biloxi.player.actions.PlayerAction;

public class DrawCard extends PlayerAction<Object> {

	@Override
	public void execute(GameState gs, PlayerState ps, CommandRepository cmd, Object options) {
		cmd.draw( new Draw.Options(ps.getPlayerID()) );
	}

	@Override
	public boolean isLegal(GameState gs, PlayerState ps, Object options) {
		// TODO Auto-generated method stub
		return true;
	}

}
